cmake_minimum_required(VERSION 3.5.0)
project(Gut)

set(CMAKE_CXX_STANDARD 17)

include_directories(../include)
link_directories(../lib)

file(GLOB gut_srcs *.cpp)

if(UNIX)
add_library(Gut  ${gut_srcs} )
target_link_libraries(Gut GLESv2 glfw GL)
endif()

if(WIN32)

add_library(Gut STATIC ${gut_srcs}  glad.c)
target_link_libraries(Gut  glfw3.lib opengl32.lib)
endif()


